package com.bzchao.wechat.service;

import com.bzchao.wechat.wxopen.dto.response.UserInfo;
import com.bzchao.wechat.wxopen.dto.response.WechatToken;
import com.bzchao.wechat.wxopen.msg.TextMessage;

public interface WeChatService {
    WechatToken getToken(String appId, String appSecret);

    UserInfo getUserInfoByAuthCode(String authCode);

    String getMessageByReqMsg(String reqMsg);

    TextMessage generateTextMessage(String toUser, String fromUser, String content);

    TextMessage getTextMessageBD(String reqMsg);


}
